Automattic\Jetpack\Publicize\Publicize D

Total Complexity 155
Dependencies 8
Dependents 7
Total lines 1,088
Lines of code 634
Logical lines of code 326
Comment lines 326
Methods 47
Properties 1

Methods 47

Method Rating Maintainability Complexity Lines of code
options_page_facebook()
B
32 19 110
options_page_tumblr()
A
40 10 63
display_connection_error()
A
41 10 61
get_connections()
A
56 8 18
test_connection()
S
49 6 29
save_publicized_facebook_account()
S
59 7 12
get_all_connections_for_user()
S
57 6 16
options_save_facebook()
S
56 6 16
enhaced_twitter_cards_site_tag()
S
57 5 17
flag_post_for_publicize()
S
61 5 12
get_services()
S
54 4 22
set_post_flags()
S
58 4 16
save_publicized_twitter_account()
S
64 5 9
admin_page_warning()
S
50 2 34
globalization()
S
66 4 8
save_publicized()
S
64 4 9
refresh_connections()
S
59 3 15
force_user_connection()
S
62 3 11
options_save_tumblr()
S
68 3 6
get_publicized_twitter_account()
S
64 3 10
admin_page_load()
S
68 3 6
post_is_done_sharing()
S
67 3 7
init_refresh_transient()
S
71 3 5
__construct()
S
52 1 22
set_remote_publicize_options()
S
65 2 9
unglobalize_connection()
S
66 2 8
globalize_connection()
S
66 2 8
options_save_other()
S
70 2 5
get_all_connections()
S
67 2 8
disconnect_url()
S
79 1 3
disconnect()
S
78 1 3
receive_updated_publicize_connections()
S
76 1 4
register_update_publicize_connections_xmlrpc_method()
S
68 1 8
options_save_linkedin()
S
81 1 3
options_save_twitter()
S
81 1 3
options_page_linkedin()
S
81 1 3
options_page_twitter()
S
81 1 3
get_basehostname()
S
79 1 3
add_disconnect_notice()
S
79 1 3
get_connection_id()
S
80 1 3
get_connection_unique_id()
S
80 1 3
get_connection_meta()
S
76 1 4
display_disconnected()
S
72 1 5
set_refresh_wait_transient()
S
79 1 3
connect_url()
S
79 1 3
get_connection()
S
91 1 2
refresh_url()
S
79 1 3